
const App = getApp();
const navigationBarHeight = (getApp().diygwstatusBarHeight + 44) + 'px'
Page({
data: {
	UserImage: '',
	Username: '',
    msgs1:[],
	user:[],
   url:App.Config.basePath
},

showModal(message) {
   App.WxService.showModal({
    	title: '友情提示',
    	content: message,
    	showCancel: !1,
   });
},
onShareAppMessage: function () {
},
onLoad(option) {
	if (option){
      this.setData({
         globalOption: option,
		  Username: wx.getStorageSync('nc'),
		  UserImage: wx.getStorageSync('pic')
      })
    }
},
onShow(){


},
navigateTo(e) {
  App.navigateTo(e.currentTarget.dataset.url, e.currentTarget.dataset);
},

})
